package com.nsu.evaluation.service;

import com.nsu.evaluation.common.ServerResponse;
import com.nsu.evaluation.pojo.FeedbackReply;
import com.nsu.evaluation.pojo.Student;
import com.nsu.evaluation.pojo.StudentEvaluations;
import com.nsu.evaluation.pojo.StudentScore;

import java.util.List;

/**
 * 学生用户相关接口
 */
public interface StudentService {

    ServerResponse<Student> studentLogin(String username, String password);//学生用户登录

    ServerResponse<Student> updateStudentInfoByPrimaryKey(Student student);//修改学生信息

    ServerResponse<List<StudentScore>> getStudentScoreByExample(StudentScore studentScore);//获取学生成绩列表

    ServerResponse<StudentEvaluations> getStudentEvaluation(String studentId);//获取学生评价

    ServerResponse<FeedbackReply> submitFeedbackReply(FeedbackReply feedbackReply);//提交评价申诉

    ServerResponse deleteStudentById(String studentId);//根据id删除学生

    ServerResponse addStudentToClass(Student student,String clazzId);//添加学生到班级

    ServerResponse<List<Student>> getNoDivisionClassStudent();//获取未分班的学生列表

    ServerResponse deleteStudentFromClass(Student student);//从班级中删除学生

    ServerResponse<Student> updateStudentClassInfo(Student student,String classId);//修改学生班级
}
